gg=G Indent the whole file
see tip 54, see also this script
augroup filetypedetect au! BufRead,BufNewFile *.jad setfiletype java au! BufRead,BufNewFile *.class setfiletype class augroup END
silent %!jad.exe -noctor -ff -i -p % set readonly set ft=java normal gg=G set nomodified
:%s/ / global replace
:%s/\*.*\*/\*\0\*
change *something* to
**something**
:num1;num2 for lines from num1 to num2
‘. jump to last modification
CTRL-Q acts as CTRL-V in default (UNIX) configuration